@import '../style/_var.less';
.ant-pro-top-nav-header-logo {
  .menu-logo {
    white-space: nowrap;
    h1 {
      margin: 0;
      font-size: 24px;
      font-family: TTTGB;
      font-weight: 700;
    }
    span {
      position: relative;
      display: inline-block;
      margin-left: 18px;
      padding: 0 12px;
      font-size: 14px;
      font-weight: 500;
      border-radius: 4px;
      color: @primary-color;
      background: #ffffff;
      vertical-align: middle;
      line-height: 24px;
    }
  }
}
.ant-pro-global-header-index-right {
  margin-right: 24px;
  &.ant-pro-global-header-index-dark {
    .ant-pro-global-header-index-action {
      color: hsla(0deg, 0%, 100%, 0.85);
      &:hover {
        background: rgba(0, 0, 0, 0.1);
      }
    }
  }
  &.ant-pro-global-header-index-bicolor {
    .ant-pro-global-header-index-action {
      color: hsla(0deg, 0%, 100%, 0.85);
      &:hover {
        background: rgba(0, 0, 0, 0.1);
      }
    }
  }
  .ant-pro-account-avatar {
    .antd-pro-global-header-index-avatar {
      margin: ~'calc((@{layout-header-height} - 24px) / 2)' 0;
      margin-right: 8px;
      color: rgba(0, 0, 0, 0.1) r;
      vertical-align: top;
      background: rgba(255, 255, 255, 0.85);
    }
    .user-name {
      padding-right: 8px
    }
  }
  .menu {
    .anticon {
      margin-right: 8px;
    }
    .ant-dropdown-menu-item {
      min-width: 100px;
    }
  }
}

